package com.it.springboot_day01demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.it.springboot_day01demo.bean.Emp;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper//创建mapper接口的代理对象
//BaseMapper中已经实现一些基础方法
/**
 * 自定义Mapper
 */
public interface EmpMapper extends BaseMapper<Emp> {
    /*@Select("select * from emp")
    public List<Emp> selectAllEmpList();*/
}
